/* / / / / / oneCAL SHEET / / / / / / /
|	             ICAL                 |
|                                     |
| version:     0.1.a                  |
| last edit:   20090918               |
| package:     beta.1.2.0             |
/ / / / / / / / / / / / / / / / / / /*/

// Say HI!
$dbuser = "charlie";
$dbpass = "only_tetten";
$dbname = "engine_charlie";
$dbhost = "localhost";

$settings_global = array("mod.google.api.code");
$settings_style  = array("h4");
				
require_once("/var/www/html/engine.core/www/combustion.php");
$event = $DB->parse("c.date, mo.objid, ".$DB->_lang('mo.nameid')." as name, ","mod_object as mo, mod_calendar as c","c.ID = ".$DB->_smartq($_GET['cal'])." && mo.ID = c.objid && c.active && mo.active");
//$related = $DB->parse("*","mod_object as mo, mod_calendar as c","ID=".$DB->_smartq($_GET['cal']));

/*
// We'll be outputting a PDF
header('Content-type: application/pdf');

// It will be called downloaded.pdf
header('Content-Disposition: attachment; filename="downloaded.pdf"');

// The PDF source is in original.pdf
readfile('original.pdf');
*/
?>
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//oneDot only oneCal feeds//NONSGML//EN
X-WR-CALNAME:oneCal Events
X-WR-CALDESC:Event listing - supplied by http://<?=engine_get('account');?>

BEGIN:VEVENT
UID:LFMEVENT-1188036
URL;VALUE=URI:http://ws.audioscrobbler.com/event/1188036+Bart+Peeters+at+Capitole+on+26+September+2009
DTSTAMP:20090926T200000
DTSTART:20090926T200000
DTEND:20090926T235900
SUMMARY:Bart Peeters at Capitole
DESCRIPTION:Bart Peeters
 http://ws.audioscrobbler.com/event/1188036+Bart+Peeters+at+Capitole+on+26+September+2009
LOCATION:<?=engine_get('account');?>, Belgium
GEO:3.731844;51.048193
END:VEVENT

END:VCALENDAR
